package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysConfig;

/**
 * 参数配置表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysConfig extends TableExpression<SysConfig> {

    public DSysConfig(String root) {
        super(root);
    }

    public static DSysConfig DSL() {
        return new DSysConfig("sys_config");
    }

    /**
     * 参数主键
     */
    public ColumnExpression configId = new ColumnExpression("config_id", this);
    /**
     * 参数名称
     */
    public ColumnExpression configName = new ColumnExpression("config_name", this);
    /**
     * 参数键名
     */
    public ColumnExpression configKey = new ColumnExpression("config_key", this);
    /**
     * 参数键值
     */
    public ColumnExpression configValue = new ColumnExpression("config_value", this);
    /**
     * 系统内置（Y是 N否）
     */
    public ColumnExpression configType = new ColumnExpression("config_type", this);
    /**
     * 创建者
     */
    public ColumnExpression createBy = new ColumnExpression("create_by", this);
    /**
     * 创建时间
     */
    public ColumnExpression createTime = new ColumnExpression("create_time", this);
    /**
     * 更新者
     */
    public ColumnExpression updateBy = new ColumnExpression("update_by", this);
    /**
     * 更新时间
     */
    public ColumnExpression updateTime = new ColumnExpression("update_time", this);
    /**
     * 备注
     */
    public ColumnExpression remark = new ColumnExpression("remark", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{configId, configName, configKey, configValue, configType, createBy, createTime, updateBy, updateTime, remark};
    }

}

